package org.example.Decorator.DecoratorPl;

public class ConcreateDecorator1 extends Decorator{

    public ConcreateDecorator1(Component component) {
        super(component);
    }

    @Override
    public void operation() {
        this.method1();
        super.operation();
    }

    private void method1(){
        System.out.println("装饰器一");
    }





}
